Error: GCC_ANALYZER_WARNING (CWE-476): [#def1] lxsession-0.5.5_20230917gite0fffa66-build/lxsession-0.5.5-20230917gite0fffa66/lxsession/lxsession-default-apps/main.vala: scope_hint: In function ‘ldefault_apps_update_windows_construct’ lxsession-0.5.5_20230917gite0fffa66-build/lxsession-0.5.5-20230917gite0fffa66/lxsession/lxsession-default-apps/main.vala:46:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘g_object_new(object_type, 0)’ lxsession-0.5.5_20230917gite0fffa66-build/lxsession-0.5.5-20230917gite0fffa66/lxsession/lxsession-default-apps/main.c:69:35: note: in definition of macro ‘_g_key_file_unref0’ /usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here. /usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ lxsession-0.5.5_20230917gite0fffa66-build/lxsession-0.5.5-20230917gite0fffa66/lxsession/lxsession-default-apps/main.vala:33:6: note: in expansion of macro ‘G_UNLIKELY’ /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ lxsession-0.5.5_20230917gite0fffa66-build/lxsession-0.5.5-20230917gite0fffa66/lxsession/lxsession-default-apps/main.vala:83:2: note: in expansion of macro ‘g_return_val_if_fail’ lxsession-0.5.5_20230917gite0fffa66-build/lxsession-0.5.5-20230917gite0fffa66/lxsession/lxsession-default-apps/main.c:69:35: note: in definition of macro ‘_g_key_file_unref0’ # 44| this.add (new Gtk.Label (_("The database is updating, please wait"))); # 45| # 46|-> kf = get_keyfile(); # 47| update_database(); # 48| }
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-clang | 18.1.7 |
diffbase-analyzer-version-cppcheck | 2.14.2 |
diffbase-analyzer-version-gcc | 14.1.1 |
diffbase-analyzer-version-gcc-analyzer | 14.1.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-enabled-plugins | clang, cppcheck, gcc, shellcheck |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-37.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | lxsession-0.5.5^20230917gite0fffa66-4.fc40 |
diffbase-store-results-to | /tmp/tmpdce_5vpt/lxsession-0.5.5^20230917gite0fffa66-4.fc40.tar.xz |
diffbase-time-created | 2024-07-03 16:17:10 |
diffbase-time-finished | 2024-07-03 16:19:41 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpdce_5vpt/lxsession-0.5.5^20230917gite0fffa66-4.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpdce_5vpt/lxsession-0.5.5^20230917gite0fffa66-4.fc40.src.rpm' |
diffbase-tool-version | csmock-3.5.3-1.el9 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-37.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | lxsession-0.5.5^20230917gite0fffa66-4.fc41 |
store-results-to | /tmp/tmpgm0gowud/lxsession-0.5.5^20230917gite0fffa66-4.fc41.tar.xz |
time-created | 2024-07-03 16:20:14 |
time-finished | 2024-07-03 16:22:26 |
title | Newly introduced defects |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpgm0gowud/lxsession-0.5.5^20230917gite0fffa66-4.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpgm0gowud/lxsession-0.5.5^20230917gite0fffa66-4.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |